package com.zhiqiang.nativeplayer.frame;

import com.zhiqiang.nativeplayer.NativeplayerApplication;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 * @author paul
 * @version 1.0
 * @date 20:10 2024/5/4
 * start button actionListener
 */
public class StartListener implements ActionListener {
    @Override
    public void actionPerformed(ActionEvent e) {
        String[] s = new String[]{MainFrame.getAddress().getHostAddress(),MainFrame.getPort()};
        NativeplayerApplication.StartApplication(s);
        MainFrame.getjFrame().dispose();
    }
}
